<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:replace="layout::header"></head>

<body>
<nav th:replace="layout::navbar"></nav>
    <div class="container">
        <h2>管理影院页面</h2>
        <div class="admin1">
        <form action="/cinema/save" th:object="${cinema}" method="POST">
            <input type="text" placeholder="电影名称" th:field="${cinema.name}">
            <select th:field="${cinema.location}">
                <optgroup label="广东省">
                    <option th:value="广州市">广州市</option>
                    <option th:value="深圳市">深圳市</option>
                    <option th:value="佛山市">佛山市</option>
                    <option th:value="汕尾市">汕尾市</option>
                    <option th:value="珠海市">珠海市</option>
                </optgroup>
                <optgroup label="上海市">
                    <option th:value="浦东新区">浦东新区</option>
                    <option th:value="闵行区">闵行区</option>
                    <option th:value="宝山区">宝山区</option>
                </optgroup>
                <optgroup label="黑龙江省">
                    <option th:value="哈尔滨市">哈尔滨市</option>
                    <option th:value="绥化市">绥化市</option>
                    <option th:value="大庆市">大庆市</option>
                    <option th:value="牡丹江市">牡丹江市</option>
                </optgroup>
            </select>
            <select th:field="${cinema.stage}">
                <option th:value="开放预售">开放预售</option>
                <option th:value="售票选座">售票选座</option>
                <option th:value="已包场">已包场</option>
            </select>
            <input type="text" placeholder="观看的日期" th:field="${cinema.data}">
            <button type="submit">新建影源</button>
        </form>
    </div>
    </div>
</body>
</html>